import Vuex from 'vuex';
import persistedState from 'vuex-persistedstate'
import options from './modules/options.js';
import shop from './modules/shop.js';

export default () => {
    return new Vuex.Store({
        modules: {
            options,
            shop
        },
        strict: true,
        plugins: [persistedState()]
    });
};
